package com.tuanzi.loan.business.repository.templateConf;

import com.tuanzi.loan.business.entity.templateConf.LoanApiModelItemEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ActivityItemRepository extends JpaRepository<LoanApiModelItemEntity, Long> {

    List<LoanApiModelItemEntity> findByApiId(Long apiId);

    int deleteByApiId(Long apiId);
}
